import os
import pickle
from main import Task
if __name__ == '__main__':
    if os.path.exists("xbr.data"):
        with open("xbr.data", "rb") as f:
            usr_data = pickle.load(f)
        print(f"随手记: {usr_data['随手记']}")
        print(usr_data['事件'])
        print(usr_data['任务'])
